import request from '../axios';


// 查询参数详细
export function captchaImage(query) {
    return request({
      url: '/captchaImage',
      method: 'get',
      params: query
    })
  }


  // 登录方法
export function login(username, password, code, uuid) {
  const data = {
    username,
    password,
    code,
    uuid
  }
  return request({
    url: '/login',
    headers: {
      isToken: false,
      repeatSubmit: false
    },
    method: 'post',
    data: data
  })
}